package com.rao.gmall.web.all;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author nzmxfan
 * @create 2021-08-08-16:36
 */
@EnableFeignClients(basePackages = {"com.rao.gmall.feign"})
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableCircuitBreaker
@EnableDiscoveryClient
public class ServiceWebApplication {

    public static void main(String[] args) {

        SpringApplication.run(ServiceWebApplication.class, args);
    }
}
